package com.atgion.service;


import com.atgion.service.anno.EnableUserWebMvcConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;



@MapperScan("com.atgion.service.mapper")
//@ComponentScan(basePackages = {"com.atgion"}) // 整合swagger并扫描当前模块
@SpringBootApplication
@EnableUserWebMvcConfiguration // 拦截器用于获取用户信息  (微服务)
public class Main {
    public static void main(String[] args) {
        SpringApplication.run(Main.class, args);
    }
}